/**
 * @file   Chicken.h
 * @author Yang Yuqing 
 * @date   Sat Jul  8 15:45:48 2023
 * 
 * @brief  This is a very easy class.
 * 
 * 
 */

#include <iostream>

/**
 * Color for chickens!
 * 
 */
enum Color {
    RED,			/**< red color. */
    GREEN,			/**< greem color. */
    BLUE			/**< bule color. */
};

/**
 * Chicken is a kind of very beautiful animal.
 * 
 */
class Chicken
{
private:
    int age;	        	/**< The color of a chicken. */
    int ID;			/**< Every chicken has a ID no. */
    double weight;		/**< The weight of a chicken. */
public:
    /** 
     * Even a chicken will sing...
     * 
     */
    void sing () {
	std::cout << "Chicken you are too beautiful;chicken you are really very beautiful" << std::endl;
    };

    /** 
     * Construct a chicken.
     * 
     * @param _a to set the age.
     * @param _I to set the Id.
     * @param _w to set the weight.
     */
    Chicken(int _a, int _I, double _w) : age(_a), ID(_I), weight(_w) {};
    
    /** 
     * Long live the chicken!
     * 
     */
    ~Chicken() {
	std::cout << "Chicken will never DIE!" << std::endl;
    };
};
